equivalent resistance of pyramid